package com.dicsystems.myrec.dto;

import java.io.Serializable;

import android.content.ContentValues;

@SuppressWarnings("serial")
public class Image implements Serializable {

	public String id;
	public String todo_id;
	public String path;
	public Boolean check = false;

	public Image() {}

	public Image(String id, String todo_id, String path) {
		this.id = id;
		this.todo_id = todo_id;
		this.path = path;
	}

	public Image(String[] image) {
		this.id = image[0];
		this.todo_id = image[1];
		this.path = image[2];
	}

	public ContentValues get() {
		ContentValues values = new ContentValues();
		values.put("_id", this.id);
		values.put("todo_id", this.todo_id);
		values.put("path", this.path);
		return values;
	}
}
